package com.roc.steelend.service.Impl;


import com.baomidou.mybatisplus.annotation.TableId;
import com.roc.steelend.mapper.InvoiceDetailBuyMapper;
import com.roc.steelend.service.InvoiceDetailBuyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.math.BigInteger;
import java.util.HashMap;
import java.util.List;

@Service
@Transactional(rollbackFor = Exception.class)
public class InvoiceDetailBuyServiceImpl  implements InvoiceDetailBuyService {
    @Autowired
    private InvoiceDetailBuyMapper invoiceDetailBuyMapper;

    @Override
    public List<HashMap<String, Object>> buyDetailByInvoice(BigInteger buyOrderId) {
        return invoiceDetailBuyMapper.buyDetailByInvoice(buyOrderId);
    }
}
